<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
    <link type="text/css" rel="stylesheet" href="/css/style.css"/>
    <script type="text/javascript" src="/js/common/jquery-1.11.1.min_044d0927.js"></script>
    <script type="text/javascript" src="/js/common/jquery.bxslider_e88acd1b.js"></script>
    <script type="text/javascript" src="/js/common/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="/js/common/menu.js"></script>
    <script type="text/javascript" src="/js/common/select.js"></script>
    <script type="text/javascript" src="/js/common/lrscroll.js"></script>
    <script type="text/javascript" src="/js/common/iban.js"></script>
    <script type="text/javascript" src="/js/common/fban.js"></script>
    <script type="text/javascript" src="/js/common/f_ban.js"></script>
    <script type="text/javascript" src="/js/common/mban.js"></script>
    <script type="text/javascript" src="/js/common/bban.js"></script>
    <script type="text/javascript" src="/js/common/hban.js"></script>
    <script type="text/javascript" src="/js/common/tban.js"></script>
    <script type="text/javascript" src="/js/common/lrscroll_1.js"></script>

    <script type="text/javascript" src="/js/register/register.js"></script>
    <link rel="stylesheet" type="text/css" href="/css/ShopShow.css" />
    <link rel="stylesheet" type="text/css" href="/css/MagicZoom.css" />
    <script type="text/javascript" src="/js/common/MagicZoom.js"></script>
    <script type="text/javascript" src="/js/common/num.js"></script>
    <script type="text/javascript" src="/js/common/p_tab.js"></script>
    <script type="text/javascript" src="/js/common/shade.js"></script>
    <script src="/js/backend/backend.js"></script>
</head>
<body>
<!--<%@ include file="/common/backend/searchBar.jsp" %>-->
<div id="header" th:replace="common/pre/header :: copy"></div>
<!--End Header End-->
<div class="i_bg bg_color">
    <!--Begin 用户中心 Begin -->
    <div class="m_content">
        <!--<%@ include file="/common/backend/leftBar.jsp"%>-->
        <div id="left" th:replace="common/backend/leftBar :: leftnav" ></div>
        <div class="m_right" id="content">
            <p></p>
            <p></p>
            <div class="mem_tit">订单列表</div>
            <table border="0" class="order_tab" style="width:930px; text-align:center; margin-bottom:30px;" cellspacing="0" cellpadding="0">
                <tbody th:each="ordert: ${orderList}">
                <!--<c:forEach items="${orderList}" var="temp">-->
                    <tr class="td_bg">
                        <td th:text="|用户名:${ordert.loginName}|"></td>
                        <td><a href="" th:text="|订单号:${ordert.serialNumber}|"></a></td>
                        <td th:text="|地址: ${ordert.userAddress}|"></td>
                        <td th:text="|￥:${ordert.cost}|"></td>
                    </tr>
                    <tr>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <table border="0" class="order_tab" style="width:930px; text-align:center; margin-bottom:30px;" cellspacing="0" cellpadding="0">
                                <tbody>
                                <tr>
                                    <td width="20%">商品名称</td>
                                    <td width="20%">商品图片</td>
                                    <td width="25%">数量</td>
                                    <td width="25%">价格</td>
                                </tr>
                                <!--<c:forEach items="${temp.orderDetailList}" var="temp">-->
                                    <tr th:each="order: ${ordert.orderDetailList}">
                                        <td th:text="${order.product.name}"></td>
                                        <td>
                                            <a href="" target="_blank">
                                                <img th:src="@{/files/{filename}(filename=${order.product.fileName})}" width="50" height="50"/>
                                            </a>
                                        </td>
                                        <td th:text="${order.quantity}"></td>
                                        <td th:text="${order.cost}"></td>
                                    </tr>

                                </tbody>
                            </table>
                        </td>
                    </tr>
               <!-- </c:forEach>-->
                </tbody>
            </table>
            <!--<%@ include file="/common/pre/pagerBar.jsp" %>-->
            <!--<div id="page" th:replace="common/pre/footer :: footer" style="width: 1200px"></div>-->
        </div>
    </div>
    <div id="footer" th:replace="common/pre/footer :: footer" style="width: 1200px"></div>
    <!--<%@ include file="/common/pre/footer.jsp" %>-->
</div>
</body>
</html>